package com.mifengs.mall.ui.openself;

import com.mifengs.commonbase.base.BasePresenter;
import com.mifengs.commonbase.base.BaseView;
import com.mifengs.mall.entity.CategoriesBean;
import com.mifengs.mall.entity.City;
import com.mifengs.mall.entity.StoreCertificate;
import com.yiguo.adressselectorlib.AddressSelector;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lynn on 2018/3/23.
 */

public interface MaterialSubContract {
    interface View extends BaseView {
//        void initMapView();

        String getBusinessLicenseUrl();
        String getSfzPositiveUrl();
        String getSfzReverseUrl();
        String getHoldSfzUrl();
        int getStoreType();
        String getStorePhotoOneUrl();
        String getStorePhotoTwoUrl();
        String getStorePhotoThreeUrl();
        String getContactName();
        String getContactPhone();
        String getLicenseName();
        String getLicenseNumber();
        String getBankNumber();
        String getBankPleName();
        String getBankCardPhotoUrl();
        String getStoreTypeNameOne();
        String getStoreTypeNameTwo();
        String getStoreProvinceName();
        String getStoreCityName();
        String getStoreAreaName();
        String getStoreStreetName();
        int  intLongTime();
        int storeProvinceid();
        int storeCityid();
        int storeAreaid();
        int storeStreetid();
        String getAddress();
        String getLicenseStartDate();
        String getLicenseEndDate();
        String getHeadSfzNum();
        String getStoreName();
        int operateRangeOne();
        int operateRangeTwo();
        double getLongitude();
        double getLatitude();
        String getStoreDetail();
        void setCategories(List<CategoriesBean> categoriesList);
        void setStoreCertificate(StoreCertificate storeCertificate,boolean isFromSave);
        void setProvinces(ArrayList<City> cityList);
        void setCitys(ArrayList<City> cityList, AddressSelector addressSelector, int postion);
        void setAreas(ArrayList<City> cityList, AddressSelector addressSelector, int postion);
        void setStreets(ArrayList<City> cityList, AddressSelector addressSelector, int postion);
        void notEmpty();


    }

    interface Presenter extends BasePresenter {
        void upLoadImg(List<String> mImgUrls);
        void getCategories();
        void StoreCertificateSub();
        void getStoreCertificate();
        void getProvinces();
        void getCitys(int provinceid, AddressSelector addressSelector, int postion);
        void getAreas(int provinceid, AddressSelector addressSelector, int postion);
        void getStreets(int provinceid, AddressSelector addressSelector, int postion);
        void judgeEmpty();
        void saveData();
    }
}
